#include "yaml_cpp_utils.h"

void checkNodeExists(const YAML::Node &node, const std::string &key)
{
    if (!node[key].IsDefined()) {
        throw std::runtime_error("node[" + key + "] not defined.");
    }
}
